package models

type MaSalesStatement struct {
	ID        int    `json:"id" json_old:"ID" gorm:"column:id;primaryKey;autoIncrement;type:int;size:64;comment:主键"`
	Title     string `json:"title" json_old:"Title" gorm:"column:title;type:string;size:40;comment:页面标题"`
	Content   string `json:"content" json_old:"Content" gorm:"column:content;type:text;comment:页面详情"`
	Sort      int    `json:"sort" json_old:"Sort" gorm:"column:sort;type:int;size:64;comment:页面排序值"`
	CreatedAt int64  `json:"created_at" json_old:"CreatedAt" gorm:"index:robot_metric;column:created_at;autoCreateTime;type:int;size:64;comment:创建时间"`
}

// TableName 指定表名
func (MaSalesStatement) TableName() string {
	return "ma_sales_statement"
}

// 模式自动注册
func init() {
	Models = append(Models, &MaSalesStatement{})
}
